package com.dsj.gxrd.modules.book.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dsj.gxrd.common.MySelfEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;

import java.time.LocalDateTime;

/**
 * 【请填写功能名称】对象 rd_book
 * 
 * @author ruoyi
 * @date 2023-09-11
 */
@Data
@ApiModel(description = "推荐书籍")
@TableName("rd_book")
public class RdBook extends MySelfEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("书籍id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long rdBookId;

    @ApiModelProperty("书籍名称")
    @Excel(name = "书籍名称")
    private String bookName;

    @ApiModelProperty("书籍作者")
    @Excel(name = "书籍作者")
    private String bookAuthor;

    @ApiModelProperty("出版社")
    @Excel(name = "出版社")
    private String publishHouse;

    @ApiModelProperty("书籍信息")
    @Excel(name = "书籍信息")
    private String bookInfo;

    @ApiModelProperty("书籍排序")
    @Excel(name = "书籍排序")
    private Integer bookSort;

    @ApiModelProperty("推荐理由")
    @Excel(name = "推荐理由")
    private String recommendReason;

    @ApiModelProperty("推荐人")
    @Excel(name = "推荐人")
    private String referrer;

    @ApiModelProperty("书籍分类")
    @Excel(name = "书籍分类")
    private Long sysBookCatId;

    @ApiModelProperty("删除标记")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty("审批状态")
    private Integer approvalStatus;

    @ApiModelProperty("审核时间")
    private LocalDateTime approvalTime;

    @ApiModelProperty("审核人id")
    private Long approvalPerson;

}
